<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page"  prefix="pages"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; " pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<link rel="stylesheet" type="text/css" href="<s:url value='/resources/css/main.css'/>" charset="utf-8" />
	<script type="text/javascript" src="<s:url value='/resources/js/jquery-1.7.2.min.js'/>"></script>
	<title>
		<decorator:title default="Subjects" />
	</title>
	<decorator:head />
</head>
<body>

<s:if test="#session.SESSION_USER != null">
	<div>
		<s:include value="menu.jsp"/>
	</div>
</s:if>
<div class="error_msg"><s:actionerror /></div>
<div class="success_msg"><s:actionmessage /></div>
<div class="main">
	<decorator:body/>
</div>

<s:if test="#session.SESSION_USER != null">
	<div class="footer">
		<s:form action="logout">
			<s:submit value="Logout" />
		</s:form>
	</div>
</s:if>
</body>
</html>